﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace dzs.Web.configinfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int cid=(Convert.ToInt32(strid));
					ShowInfo(cid);
				}
			}
		}
		
	private void ShowInfo(int cid)
	{
		dzs.BLL.configinfo bll=new dzs.BLL.configinfo();
		dzs.Model.configinfo model=bll.GetModel(cid);
		this.lblcid.Text=model.cid.ToString();
		this.lbltsgj.Text=model.tsgj.ToString();
		this.lbltsps.Text=model.tsps.ToString();
		this.lblygyqs.Text=model.ygyqs.ToString();
		this.lblygyjs.Text=model.ygyjs.ToString();
		this.lblpsyqs.Text=model.psyqs.ToString();
		this.lblpsyjs.Text=model.psyjs.ToString();
		this.lblgybz.Text=model.gybz.ToString();
		this.lblpsbz.Text=model.psbz.ToString();
		this.lblzlbz.Text=model.zlbz.ToString();

	}


    }
}
